home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C ++ / Frameworks / MacZoop 1.6.5 / Basic Classes / Z Headers / ZErrors.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-25  |  619 b   |  36 lines  |  [TEXT/CWIE]

  1. /*************************************************************************************************
  2. *
  3. *
  4. *            ObjectMacZapp        -- a standard Mac OOP application template
  5. *
  6. *
  7. *
  8. *            ZErrors.h            -- utils for throwing exceptions
  9. *
  10. *
  11. *
  12. *
  13. *
  14. *            © 1996, Graham Cox
  15. *
  16. *
  17. *
  18. *
  19. *************************************************************************************************/
  20.  
  21.  
  22. #pragma once
  23.  
  24. #ifndef __ZERRORS__
  25. #define    __ZERRORS__
  26.  
  27.  
  28. void    FailNIL( void* aPtr );
  29. void    FailOSErr( OSErr theErr );
  30. void    Fail();
  31. void    FailNILRes( void* aResPtr );
  32. void    FailSilent();
  33. void    FailParamErr( OSErr theErr );
  34. void    FailNILParam( void* aPtr );
  35.  
  36. #endif